<div class="block">
	<div class="block-title">
		付款历史
	</div>
	<div class="block-body" style="width:auto;">
		<?php 
		$this->widget('zii.widgets.grid.CGridView', array(
				'id'=>'history-grid',
			 	'summaryText' => '',
				'dataProvider' => $dataProvider,
				'columns'=>array(
					array('name' => '序号', 'value' => '$data->id'),
					array('name' => '加盟账号', 'value' => '$data->loginid'),
					array('name' => '收款人', 'value' => '$data->payableto'),
					array('name' => '支付方式', 'value' => 'Yii::app()->params[paymentMethods][$data->pay_method]'),
					array('name' => '支付金额', 'value' => '"\$".$data->amount'),
					array('name' => '支付参考号', 'value' => '$data->pay_ref'),
					array('name' => '付款时间', 'value' => '$data->pay_date')
				),
			));
		?>
	</div>
</div>